/**
 * 固定类型的导航栏
 */
import AccountState from '@comp/base/accountstate';

class FixedNav extends React.Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <nav className={this.props.className}>
                <a href="#index">我的工作台</a>
                <a href="#notes">笔记</a>
                <a href="#solutions">解决方案</a>
                <AccountState
                    className="fixed-right"
                    isLoggedIn={this.props.isLoggedIn}
                    signupHref="#signup"
                    registerHref="#register"
                    accountHref="#account"
                    accountName={this.props.accountName} />
            </nav>
        );
    }
}

export default FixedNav;